package com.spring.nio.service.protocol.response.monitor;

import lombok.Data;

import java.util.List;

/**
 * @author: YSFY
 * @date: 2021-05-29 22:17
 * @pacage_name: com.spring.nio.service.protocol.response.monitor
 * @class_name: ServiceMonitorResponse
 * @description: 服务器监控响应类
 */

@Data
public class ServiceMonitorResponse {

    // .... 其他信息

    private List<ConnectionInfo> connectionInfoList;

    @Data
    public static class ConnectionInfo {

        private String operateType;

        private String localAddress;

        private String remoteAddress;

        private String fileName;

        private String uploadTime;

        private String bufferSize;

        /**
         * 连接状态
         * */
        private String connectStatus;

        /**
         * 任务状态
         * */
        private String taskStatus;

        private String remark;
    }
}
